package cn.jiahua.hospital.pojo;

import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/***
 *
 */
@Data
public class Departments implements Serializable {
    //科室id
    private Integer departmentsId;
    //科室名字
    private String departmentsName;

    //疾病的引用类
    private List<Illness> illnesses;

    //get set 方法
    public void setDepartmentsId(Integer departmentsId) {
        this.departmentsId = departmentsId;
    }

    public Integer getDepartmentsId() {
        return this.departmentsId;
    }

    public void setDepartmentsName(String departmentsName) {
        this.departmentsName = departmentsName;
    }

    public String getDepartmentsName() {
        return this.departmentsName;
    }
}
